<!DOCTYPE html>
<html>
<style>
.flexbox {
    max-height: 10px;
    overflow: hidden;
}
</style>

<body>

<div class="flexbox">
    <div>
        The height here should be ignored.
    </div>
</div>
